{% extends "global/Page.html" %}
{% load otree static %}

{% block title %}

{% endblock %}

{% block content %}
<h4 style="text-align: center">恭喜你！</h4>
    <p>
        经过上一轮的测试，我们已经了解到了您大概的能力、性格以及性格偏好。根据您的这些条件，
        我们为您匹配到了与您这些特质比较相符的5名队友,你们将一起完成接下来的游戏。
    </p>
    <br/>
    <p>本场游戏一共有3个小队，分别为<span style="color: red">红组</span>，<span style="color: blue">蓝组</span>，<span style="color: green">绿组</span>，每组共有6人</p>
    {#    下面一个标签显示自己和对方的身份！#}
    <div>
            {#        {{ player.get_others_in_group.id_in_subsession }}#}
            您的组别是：
                {% if player.id_in_subsession == player.session.vars.r1 or player.id_in_subsession == player.session.vars.r2 or player.id_in_subsession == player.session.vars.r3 or player.id_in_subsession == player.session.vars.r4 or player.id_in_subsession == player.session.vars.r5 or player.id_in_subsession == player.session.vars.r6 %}
                    <span style="color: red">红组</span>
                {% endif %}
                {% if player.id_in_subsession == player.session.vars.b1 or player.id_in_subsession == player.session.vars.b2 or player.id_in_subsession == player.session.vars.b3 or player.id_in_subsession == player.session.vars.b4 or player.id_in_subsession == player.session.vars.b5 or player.id_in_subsession == player.session.vars.b6 %}
                    <span style="color: blue">蓝组</span>
                {% endif %}
                {% if player.id_in_subsession == player.session.vars.g1 or player.id_in_subsession == player.session.vars.g2 or player.id_in_subsession == player.session.vars.g3 or player.id_in_subsession == player.session.vars.g4 or player.id_in_subsession == player.session.vars.g5 or player.id_in_subsession == player.session.vars.g6 %}
                    <span style="color: green">绿组</span>
                {% endif %}
            <br>
                        {#    下面二个标签显示自己和对方的身份！#}
        <p>您的身份是： <span style="color: red">
                {% if player.id_in_subsession == player.session.vars.r1 %}
                    红组1号
                {% endif %}
                {% if player.id_in_subsession == player.session.vars.r2 %}
                    红组2号
                {% endif %}
                {% if player.id_in_subsession == player.session.vars.r3 %}
                    红组3号
                {% endif %}
                {% if player.id_in_subsession == player.session.vars.r4 %}
                    红组4号
                {% endif %}
                {% if player.id_in_subsession == player.session.vars.r5 %}
                    红组5号
                {% endif %}
                {% if player.id_in_subsession == player.session.vars.r6 %}
                    红组6号
                {% endif %}
                </span>
                <span style="color: blue">
                    {% if player.id_in_subsession == player.session.vars.b1 %}
                    蓝组1号
                {% endif %}
                {% if player.id_in_subsession == player.session.vars.b2 %}
                    蓝组2号
                {% endif %}
                {% if player.id_in_subsession == player.session.vars.b3 %}
                    蓝组3号
                {% endif %}
                {% if player.id_in_subsession == player.session.vars.b4 %}
                    蓝组4号
                {% endif %}
                {% if player.id_in_subsession == player.session.vars.b5 %}
                    蓝组5号
                {% endif %}
                {% if player.id_in_subsession == player.session.vars.b6 %}
                    蓝组6号
                {% endif %}
                </span>
                <span style="color:green;">
                                    {% if player.id_in_subsession == player.session.vars.g1 %}
                    绿组1号
                {% endif %}
                {% if player.id_in_subsession == player.session.vars.g2 %}
                    绿组2号
                {% endif %}
                {% if player.id_in_subsession == player.session.vars.g3 %}
                    绿组3号
                {% endif %}
                {% if player.id_in_subsession == player.session.vars.g4 %}
                    绿组4号
                {% endif %}
                {% if player.id_in_subsession == player.session.vars.g5 %}
                    绿组5号
                {% endif %}
                {% if player.id_in_subsession == player.session.vars.g6 %}
                    绿组6号
                {% endif %}
                </span></p>
        </div>
    <p>成员人数：6人</p>











    {% next_button %}

{% endblock %}
